package com.abel.demo.event;

import org.springframework.context.ApplicationEvent;

/**
 * Author: Abel.lin
 * Date: Created in 2018/7/11 18:10
 * Company: Abel.Studio
 * Copyright: Copyright (c) 2017
 * Description:
 */
public class DemoEvent extends ApplicationEvent {
    private String param1;
    private String param2;
    public DemoEvent(Object source, String param1, String param2) {
        super(source);
        this.param1 = param1;
        this.param2 = param2;
    }

    public String getParam1() {
        return param1;
    }

    public void setParam1(String param1) {
        this.param1 = param1;
    }

    public String getParam2() {
        return param2;
    }

    public void setParam2(String param2) {
        this.param2 = param2;
    }
}
